<template>
  <div class="events-view">
    <div class="container">
      <h1 class="page-title">{{ $t('events.title') }}</h1>
      <p class="subtitle">{{ $t('events.subtitle') }}</p>
      
      <ContributionGrid />
    </div>
  </div>
</template>

<script>
import ContributionGrid from '@/components/ContributionGrid.vue'

export default {
  name: 'EventsView',
  components: {
    ContributionGrid
  }
}
</script>

<style scoped>
.events-view {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  color: #c9d1d9;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  text-align: center;
  font-size: 2.8rem;
  background: linear-gradient(90deg, #58a6ff, #8b949e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.subtitle {
  text-align: center;
  color: #8b949e;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .events-view {
    padding: 40px 0;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}
</style> 